// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "WeaponBuildingBase.h"
#include "DustWall.generated.h"

/**
 * wall
 */
UCLASS()
class ISALONG2_API ADustWall : public AWeaponBuildingBase
{
	GENERATED_BODY()
	
public:
	ADustWall();
	
public:
	// add a destroy obj
	
	
	virtual void Tick(float DeltaSeconds) override;

	virtual void BeginPlay() override;

	virtual void OnHurt(AActor* shotter, FVector impactNormal, FVector hitLocation, int HurtType, float hurtValue,UPrimitiveComponent* hitComponent) override;

protected:
	// override the father function
	virtual void OnCollisionEnable() override;

	// on placed
	virtual void OnPlaced() override;
};
